﻿
namespace Inovout.Security
{
    public class BuiltInUser : IUser
    {
        public virtual string Name
        {
            get;
            set;
        }
        public BuiltInUser(string name)
        {
            ArgumentAssert.IsNotDefault(name, "name");
            this.Name = name;
        }

        public static BuiltInUser AnonymousUser
        {
            get { return new BuiltInUser("anonymousUser"); }
        }
    }
}
